package com.shy.service;

import com.github.pagehelper.PageInfo;
import com.shy.config.query.ActivityList;
import com.shy.entity.Activity;
import com.shy.entity.ActivityRemark;
import com.shy.entity.User;

import java.util.List;

public interface ActivityService {
    /**
     * 分页查询活动列表
     * @param current 当前页码
     * @param pageSize 每页显示条数
     * @return 分页对象
     */
    PageInfo<Activity> queryActivityListByPage(Integer current, Integer pageSize,ActivityList activityList);

    /**
     * 根据活动id查询活动信息
     * @param activityId
     * @return
     */
    Activity queryActivityById(Integer activityId);

    Boolean addActivity(Activity activity);

    List<User> getResponsiblePersons();

    Boolean modifyActivity(Activity activity);

    Boolean batchActivityDelete(List<Integer> activityIds);

    /**
     * ID查询备注列表
     * @param activityId
     * @return
     */
    List<Activity> queryUserListById(Integer activityId);

    /**
     * 删除活动备注
     * @param activityRemarkId
     * @return
     */
    Boolean deleteRemark(Integer activityRemarkId);

    /**
     * 添加活动备注
     * @param activityRemark
     * @return
     */
    Boolean addActivityRemarks(ActivityRemark activityRemark);

    List<Activity> queryActivityList();
}
